﻿<UserControl xmlns:data="clr-namespace:Microsoft.Windows.Controls;assembly=WpfToolkit"
    x:Class="Modules.Details.DetailsRegion.DetailsView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Height="auto" Width="auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
  <Grid x:Name="LayoutRoot" Height="auto" Width="auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Background="#FFF0F0F0">
    <Grid.ColumnDefinitions>
      <ColumnDefinition Width="*"  />
    </Grid.ColumnDefinitions>

    <Grid.RowDefinitions>
      <RowDefinition Height="*"/>
    </Grid.RowDefinitions>

    <data:DataGrid x:Name="dg" Grid.Row="0" Grid.Column="0" HorizontalContentAlignment="Stretch" ItemsSource="{Binding DetailProperties}" Margin="4,4,4,4" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" CanUserSortColumns="True"></data:DataGrid>
    <TextBlock Height="29" Margin="0,0,28,28" VerticalAlignment="Bottom" Text="Details" TextWrapping="Wrap" FontFamily="Portable User Interface" FontSize="20" FontStyle="Italic" FontWeight="Bold" Opacity="0.1" Width="84.068" HorizontalAlignment="Right"/>

  </Grid>
</UserControl>
